﻿using System.Windows.Forms;

namespace GeoSketch2.Core
{
    public partial class TBBZoomBox : BaseToolbarButton
    {
        #region Constructor
        /// <summary>
        /// The button of the GeoZoomBox tool
        /// </summary>
        public TBBZoomBox()
        {
            InitializeComponent();
            ToolTipText = "Zoom Box";
        } 
        #endregion

        #region Properties
        /// <summary>
        /// Gets the tool assigned to the button
        /// </summary>
        protected override BaseTool Tool
        {
            get
            {
                return new TZoomBox(DisplayBox.Viewport);
            }
        }
        #endregion
    }
}
